home *** CD-ROM | disk | FTP | other *** search
INI File | 2005-03-15 | 1.3 KB | 61 lines |
- [SETTINGS]
- Category=Software Tweaks::Internet Explorer::Toolbar Picture & Title
- Caption=Toolbar Picture && Title
- #=1)This tweak allows you to select a bitmap image to display as the background for the Internet Explorer toolbar.
- #=\n2)You can change the title of the Internet Explorer window here.
- #=\n\nClear the field to restore its default value.
-
- version=1.0
- Author=
-
-
- [INTERFACE]
- TYPE=multi
- type0=edit
- style0=1
- Text0=Toolbar Picture
- FileFilter0=Bitmaps (*.bmp)|*.bmp||
- type1=edit
- style1=0
- Text1=Window Title
-
- [EXPORT]
- val0="HKCU\Software\Microsoft\Internet Explorer\Toolbar\BackBitmapIE5"
- val1= "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Window Title"
-
-
- [SCRIPT]
- dim strkey1,strKey2
- strkey1="HKCU\Software\Microsoft\Internet Explorer\Toolbar\BackBitmapIE5"
- strKey2= "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Window Title"
-
- SUB OnInit()
- SetItemText 0,RegReadValue(strkey1)
- SetItemText 1,RegReadValue(strkey2)
- END SUB
-
- SUB OnApply(x,y)
-
- dim s
- s=GetItemText(0)
-
- if len(s)=0 then ' default
- RegDeleteVal strkey1
- else
- RegWriteValue strkey1,s,1
- end if
-
- s=GetItemText(1)
-
- if len(s)=0 then ' default
- RegDeleteVal strkey2
- else
- RegWriteValue strkey2,s,1
- end if
-
-
-
- NotifySettingChange 0
-
- END SUB
-